package com.chen.framework.service.inter;

import com.baomidou.mybatisplus.extension.service.IService;
import com.chen.framework.model.auth.AuthLinkUserRole;

import java.util.List;

/**
 * @author: ~龙~
 * @date: 2023/6/13 17:08
 **/
public interface AuthLinkUserRoleService extends IService<AuthLinkUserRole> {

    /**
     * 获取用户的权限集
     * @param userId 用户id
     * @return 权限集
     */
    List<String> authoritiesListByUserId(Long userId);
}
